import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins/element.js";

Vue.config.productionTip = false;

import getRoutes from './router/routes.js'
import { handleAuth } from './utils/utils'

Vue.prototype.$getRoutes = getRoutes
Vue.prototype.$getAuth = handleAuth

import TdLayer from './components/TdLayer'
Vue.use(TdLayer)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
